Added account and character saving on shutdown
Merge branch 'develop'