ticks were broken cause they used window globals everywehre...