Added saving functionality to Ladder Editor