Removed unused variable _ThreadRunning
Small code updates