Changed loadLocal if/elif statement order. Statements that are more frequently true are placed first.