Add global constants for motion fine-tuning, fix bug where rotate commands returned null if rotation was zero.