Added 'boolean' macro for shorthand casting.
Implemented assert macro for both console and GUI.