Some fixes, --no-precompile and --no-chunks

-Fix for current compile count being incremented by 2 instead of 1 when
precompiling
-Added --no-precompile and --no-chunks options to globally disable these
-Additional bugfixes for determining whether or not to recompile
something