Fixed multiple bugs.
Fixed UI bug where it wasn't always greying out buttons.
Fixed a crash related to wrong type in the acheivements.