added a debug console
added resource loader, log message, and load command
added failure case for loading tBMP resources