Prevent user from setting an empty name (see Issue #3)