Added optimizing of jump-to-nop and jump-to-jump cases. Ta to AK for suggesting.
Split the optimizer up. Remove the dreaded 'goto' from which doesn't need it.
Minor grammar fix.
Working on the optimizer.
merge trunk