Fixes bug in if-stetements (missing else statement caused stack not popped). Test.html supports standalone debugging.