Refactor, more signal handlers and added about dialog