corrected macros
added framelimiter
initial commit of framelimiter system