Cleaned runLoop etc