fixes #283 - Added debug window