removed GUI and any need for threads and agents