Adjust background image and grid dimensions

This should allow you to adjust both background image and grid dimensions without having to reload anything on the page.  The grid is rebuilt each time the dimensions are changed and the existing boxes should stick to the grid points they were originally assigned to.  (They'll be destroyed if they no longer fit on the grid)