Added better plan execution console feedback

Ioan, is this getErrorCodeString() function ok?