Fixed all non-graphic errors(untested)