added better in-line dlocumentation.
added main window and task bar. Main windowhides itself on close unless the taskbar exit method is used.