Library bugs and wishes

These are things which need to be fixed or would be useful if added in the W3 common code library. See also a list of features added and bugs fixed.