added priority var for event queuing
added rate-limiter for origin objects
fixed rate-limit window not moving
testing some corner cases
intellij project modifications