fixed possible NPE on Sequence.getSerieIndex() method.
Merge branch 'master' of https://Stephane-D@github.com/Icy-imaging/Icy-Kernel.git into develop
* minor fix for better memory clean in some case with IcyCanvas.
* better headless support