minor code refactor for readability
minor code refactor for readability

This used to be revision r4601.

TehSAUCE/imagej,TehSAUCE/imagej,TehSAUCE/imagej,biovoxxel/imagej,biovoxxel/imagej,biovoxxel/imagej