Changed from a windows service to a tray application.