- Use local variables for tabs in place of globals - Merge together if statements where possible - Replace manual table searching code with indexof where possible