blu_plug: fixes and port to shamu

Signed-off-by: engstk <eng.stk@sapo.pt>