New release (rev17)

Loads of changes, hopefully all for the better, see changelog for more
details