re-did the global motion implementation in a more modular way. QA & backward compatibility all good