Updated error reporting. Added "gender" for current dog in view.