New update feature. Fixed typo. Fixed indent.

Fixed type and indent error. Also added a featue to prevent the program from terminating due to bad update check.