Plenty of time unless the plane is late, junior needs to potty and has diarrhea, the other junior insists on buying a hot dog and browing the newstand and the gate is far away.
If there are no more flights, I don't know what they will do. They may claim a weather delay, which means you need to pay for your own hotel. If you can't find a cheap rate, they can give you a voucher for a distressed travellers rate which you still pay but is a bit less than full rack rate.