cleans up some code in TextCompilerSbtl