added custom pseudocomp for var=const
cleanup
added a couple of tests
turn debug off