Added instance save and restore to main activity. 
Fixed the null exception error when rotating display.
Merge pull request #4 from amthompson/master

Added instance save and restore to main activity.