Added getEventType() method, a public proxy for al_event_.type.
Implemented getEventType() method. Changed manageWindow() method to call upon getEventType(), rather than the raw private equivalent.