There seems to be some incorrect wording using "nameplace" instead of "nameplate". I corrected it.
It adds a lot of changes for issues reported by staticcheck. Removing unused stuff and keeping error strings non capitalized to stick with standard Go procedures.
This PR does two things: