Made notifications using .net events instead of console write
Added more logging