Backport fixes
Merge branch 'master' of git://github.com/flavour/tldrmp