cleaned up some debugging code
fixed a regression: compiling projects not residing in the current directory
minor bug fixes to make some tests green