separate note collected state from actual notes + fix some null pointers in AI code
remove some logging
saved games with HTML5 storage
bugfix with saving music state
some actions (like winning) won't fire if the player is dead