WIP: ij-legacy: untangle patches from ImageJ2

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
wip

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
debug

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>