bug fix to Stampeding Kodo
fix for some multithreading issues in GUI