Fixed the bug stated in issue #2.
Adjusted dependency to fit diagrams.
Removed backups flying around from the editor.