Fixed up code blocks project and includes.
Some fixes to makefiles.
Fixed include
Fixes to external callbacks.
Added error message to plugin failure.
Added wait for key
Attempted to add "Freeze game on lose focus" for XLIB
Removed tiny piece of code that does not need to be there, we already know
whether the game is froze from losing focus, no need to check again.
Forgot parenthesis arround the alpha cast causing it to lose its floating
point precision.
Merge pull request #583 from RobertBColton/master

Fixed up code blocks project and includes.