replace notify/wait with blocking queue
use Boolean.getBoolean for boolean system property
added variable for selfMode for interactive game