debugging dev mostly complete, cleaned up some places, added debug.ahk.