updated DeviceBox's creation code
ensured the blank_mode property is set by the constructor before it's used to check validity
this should make the blank dialog behave correctly for #28 (closed) and https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=968080
Edited by Rene Kjellerup