GUI tests and Threading

Changes