Make several minor changes

See https://github.com/Lyndir/mpw-js/commit/f33338cce056e6fa26b930a9ae7aeee989e8d84a for some of the changes.