Added error number to gui
Made changes to the errors
.