Fix crash in tab complete
Fix battles sometimes not scrolling to bottom