several fixes

fixed several minor things that caused TexWorks to halt,  while the
compilerscript ignores them. also fixed link colors