gdk/Application: Add config loading
gdk/Application: Break main loop if window is closed