Sorted out all rotation related issues!  Massive memory leaks still to be addressed