iOS: mode code de-duplication and cleanup
iOS: make video rendering more responsive