there is a clear record of when you were offloaded from the flight. Since UX denied you an denied boarding compensation I would write to the DOT with a succinct statement such as: you were at the gate 25 minutes before departure, found the door closed and the GA denied you boarding and/or compensation.
UA will respond to the DOT and you'll get proper compansation.