@Christoph Lohmann: I guess you're right. I'll put the project on halt.Btw: I didn't know dbus sucked that much going into the project. I just looked at other implementations which seemed to work fine, like lxsession-logout, and concluded that it might be the safest bet to use dbus.
Anyway, Cheers, Thomas Oltmann