Fixed sensor event array bugs, inherited fix to window pipeline, proposed new timed queue with sorted map