fix a few errors with import and break. Fix warning with timeframeconstant