Implemented frame rate limit. Implemented average frame rate calculation. Closes #316.