OMX fix and shutdown/reboot fix