Re-organized, cleaned up and documented code. Struggled and finally suceeded in adding an application icon (placeholder image). Don't use QIcon for setWindowIcon(), jeez, how intuitive. I'm tired.