improvements and non-critical bug fixes. PR: ports/116043 Submitted by: "David Nečas" <yeti@gwyddion.net> (maintainer)