Pull from dev branch

Added an auto updater and fixed a few bugs.