Adding ping handling, ping to user list... and an error pane. Also some indentation.