Fixed network crash and modified some minor error messages