organize local functions
add semicolons
trim lines and anchor regular expressions
ability to observe games
bump version