Minor restructuring and comment
Debug print function added

Added the ability to throw text into the console. It's not through a
driver layer just yet, it's just for debug purposes.