Fixed a lot of bugs in the recent update.