Added debug window plus form framework