a simple way to bring window to foreground
add loadConfig with much todo