default plugin: Fix workspace switch type error

Signed-off-by: Jonas Ådahl <jadahl@gmail.com>

https://bugzilla.gnome.org/show_bug.cgi?id=723563
main: Use setenv()
display: Clean up creation of the guard window a bit...

Do it consistently in all code paths...