Threshold switching and the on-state in non-crystalline chalcogenide semiconductors