Parent and priority

- Allow to provide a custom parent.
- Allow to provide a priority, so some urgent AppMsgs can jump to the front of the queue.