Restructured worker thread in Interpreter class---
cleaned up a bunch of stuff