Added debug window

Turned on in options