Try commenting out the $Form1.Left = xxxx and the $Form1.Top = xxxx lines.

When I tried running it, the settings were so high that it was off the screen somewhere...showing just the black console window with some ill defined menus.