Attempt to fix the deadlock problem
show monitor window by default.
remove unused import.