Depth control fully integrated into network events.

Fixed paint issues in spike detector when not playing the graph

Removed the combo-box of electrode types and replaced it with a popup
menu.