Hi, vlad_tepesch. Thanks for playing!
I just pushed up a new build of the game that should fix all three of the issues you mentioned. You might need to clear your browser cache.
That first issue you mentioned had some other places it would have happened, too, and I fixed them as well, but if you find any more of these game-breaking bugs, please let me know.
Oh, and thanks for taking the time to let me know about these issues!
Enjoy!