Started using #defines

Added several #defines to clean up code and increase clarity.
Removed excess spaces, and also tightened code in the chat interface.