modified the sim window creation code.
Added task manager doc