small cleanups
really experimental start for https://github.com/fidelram/deepTools/issues/20