Fixed bugs for times when files with no contents are loaded, cleaned up debug formatting, restored google hosted library code