Fixed many bugs and increased efficiency where possible, starting design document work