several small changes/fixes

-cleaned code in grid.cs and in simulation controller
-fixed closing/saving problem
-removed file from properties