code cleanup, fixes to qt whats this tool