Implemented FpsManager. Closes #290.