Simplified the removal of tmp editor files.