Registers window bugs fixed (child window), compilation and running errors corrected
Compilation and running errors corrected