Added broadcastport as cfg, minor fix on message system