Improved exception reporting in ConsoleApplication
Made some changes to examples