added maximize/minimize functions
initial GUI Button support
added maximize and minimize buttons
fixed some window bugs
application terminates on SDL back button press
fixed regression regarding maximizing window