Added convenience functions to get and set the current frame number. Not documented yet.