@Override
public synchronized void update(Observable o, Object arg) {
//We process status code messages here first.
if (arg.getClass().getCanonicalName().equals("tgfx.system.StatusCode")) {
//We got an error condition.. lets route it to where it goes!
StatusCode statuscode = (StatusCode) arg;
postConsoleMessage("[->] TinyG Response: " + statuscode.getStatusType() + ":" + statuscode.getMessage() + "\n");
} else {
try {
final String[] UPDATE_MESSAGE = (String[]) arg;
final String ROUTING_KEY = UPDATE_MESSAGE[0];
final String KEY_ARGUMENT = UPDATE_MESSAGE[1];