update classpath and preferences
remove busy wait from main i/o loop
label threads for debugging purposes