Added 'action' to Dude getState(), for websocket server.
'action' needed to go in getStateRounded(), too...
Changes to accommodate perl mojolicious server.