Changed default output basename in mrc2png and mrc2mha to %04.ext instead of %03.ext (so 4 digits instead of 3).
Added the ability to assign a required amount memory and CPUs for each task. Fixed directory to support smart-restart. Made filenames be 4 digits instead of 3.