Simplify shutdown code
Small style fixes
Small code style unification & shorter delays in animations
Clean up and simplify imagefilter error handling
Small simplification