Bug fixes

Added "wait" for update thread in free_resources.
Added display mode print out.
GL now exits if cannot be setup.