Added basic setting support (not implemented any settings yet). Code optimization. Added a Title with the current Version to the main window.