Warnings

This is a series of small fixes based on the warning reports from the compilation logs. The one marked "Minor:" are fairly trivial while you might want to check that the other two are actually what was intended in the first place.

**Edit:** I seem to have sent the pulll request from the wrong tab and it ended up here instead of in [@Gerry1135/Engineer](https://github.com/Gerry1135/Engineer), which is apparently where changes must be submitted.