implements message type accessor
implements message dup, fix errno on success
avoid git status on swap file