Error reporting and Character lookup added