Add/fix two checks for outgoing energy filters. Closes #149 on github.
Remove unused explicit imports.
Fix a few gfortran debug warnings.