fixed some small nasty bugs
added test_mutable_kvmap.cljs which can be run in the cljs-repl