added: automatic stand alone execution
improved: gui with ttk