fixing the REPL to actually hold a scope
closes gh-56
fixing the REPL and kal executable
closes gh-56
closes gh-57