Refactor queue processing into one location.

Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
extruder-process: convert if-block to trailing if.

Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>