Add ScalaTest dependency back
Get the replay mechanism working, and start cleaning up the js (a bit)
Allow for dynamic changing of grid size during rendering and fix a couple of bugs