refactoring
fix loading bug
add update model on showing tool window option
make toolwindow sealed