Just a couple of other easy things I found.
Sorry I closed the old pull request. Just getting used to git and I made a huge mess out of that old branch.
Uninitialized variable. This could cause an issue, but is extremely u…
match new with delete instead of delete
Match data type of member variable.
Once you're a bit more used to it, you'll notice you can force push a branch over the top of another one (or rebase it and force push) to save opening more pull req's.
Looks good - thanks!