make sure vm is running before attempting to focus it
set wallpaper properly at vm shutdown