cleanup, made utility functions "static"
cleanup
more splitting of CellSpace.js, cleanup