Expand functions++

Fixed some bugs in the expand functions. Can now add blocks when zoomed
and grid is toggled. Still need to fix remove blocks function.