Update server's App Engine version
Update some comments

Clarify code a bit
Change prefs.commit() to apply() for performance