Added logging to debug and yet again added the fix for debug in vs2012
Added try catch to list handling
Merged debug handler