Allow several appointments with same name, etc

Required a reimplementation of the ordering stuff.

Another few changes: x axis, style sheet changes etc'