Draw Event Subchecks
Reimplemented them, I forgot when I moved them to separate functions for
the purpose of inheritance/event perform to add them to special case
events that are called manually.
Implements game end event.
Implement game end event for XLIB
Fix Cocoa bridge includes.
Forgot an extern.
Cleans up my improvements to Josh's preferences.
Merge pull request #729 from RobertBColton/master

General Fixes and Improvements