removed buggy active and anim grids, in-grid animations temporarily removed
working on new cell + event format, added global for init piece count
more removal of unnecessary stuff, more work on events
generation functions now use new cell format
rendering functions now use new cell format, controls temp. broken
cells no longer hold x and y, controls now use new cell format
verification functions now use new cell format, fixed infinite loop in squareToPoly
fixed out of bounds bug in controls
continuous animation and square detection triggers made global for events to set