Eliminated nasty error messages on empty config

and a few other edge cases. Basically, the introduction of the device
manager caused a ton of exceptions when using an empty configuration. This
was made worse by the rebase; MM apparently doesn't check for null string
pointers on getXPosition and the like.

Signed-off-by: Luke Stuyvenberg <stuyvenberg@wisc.edu>