I have been going through he PHP error log (which has been running a few years and documents all errors with PHP) fixing loads of little bugs which make the game look "bad". Tonights work has removed a large number of the more rampant bugs reducing the file size from 470MB to 317MB (impressive size since its pure text). Further work will be done on this to try and make MD a nicer and error free place :D