Added checkframes option to cli and some cleanup/updates to framechecker.