Speed improvement for abbreviated actions
Refined direction and movement code