Began adding event handling

For right now, just the window closing (ALLEGRO_EVENT_DISPLAY_CLOSE)