Added more logging during the start-up of IAS and fixed a bug related to device monitoring.