Refactoring of epd-ship and -shore settings panels to use a common base