move tick processing logic out of tsTickReceiver