Closes #220

Until connection has failed or succeeded, buffer logs and sent them when connected. Also, log to device console when we're not connected (why don't we do so always anyway?)