start with empty resolution for testing; lots of bugfixes (clause manipulation apparently now working)