restored ticks, window not fully functional yet