Sidebar trimming, EC tweaks

Removed irrelevant sidebar items, debugged EC code.