edge removal functionality
minor tweaking, additional callbacks