Fixed some bugs with the compiler and logging ... added a template file that displays the source of the main file