changed order of operations in openbox-exit