Moved DBus onto session bus and added error checks

Fix for issue #46