Automatic window time tracker with automatic categorization of window titles and applications