Increased time resolution and add the option to change framerate