Move enabling cert pinning to device ready

Also cleans up the error display...