Fix #173. Fix rating. Fix plenty of Warnings.