Fixed i236
fixed i63

http://gsd.uwaterloo.ca:8888/question/257/preserve-the-scopes-during-reload
Fixed errors from previous commit

- Did not take into account editing file while running IG
- Removed assumption that all scopes default one rather than just global
Merge pull request #7 from gsdlab/i63

fixed i63
Merge pull request #5 from gsdlab/i236

Fixed i236
Fixed bugs caused by merge i236
Fixed merged conflicts