*ahem* its maximizer*

as for your .bat problem.

I'm not sure why your first window resets. Make sure you aren't clicking or doing anything. Also make sure your clients are set to "windowed mode"