Implemented power button based shutdown and tidyup via dbus, Props DOS1
Could be tidier, but it works.