Fixed a lot of weird overwrite bugs and improved Base stability.