Fixed message print routine: it was right as written the first time :-P
Fixed bugs in user ack mask handling: unsigned ints behave strangely when it comes to differentiate :P also, sign correction on bitwise or shift