bug fixes and changed app.rb to be able to set individual cells easily for interesting intiial states