bump to 0.5.0 with various fixes (see changelog)