Fixed a massive number of bugs