minor fixes
change Thread extension to Runnable implementation