Rubocop: Update to 0.26.0, fix a lot of warnings

..also: some minor bugfixes uncovered by new warnings