Update comments and correct frame rate calculation