Remove hardcoded DBUS_SESSION_BUS_ADDRESS

A valid DBUS_SESSION_BUS_ADDRESS must be provided via the process
environment.
Fix C90 variable declarations after code