Added 3 debug options. Will do more tomorrow.