fixed main and propagate bugs

starting to get refined cl options, no real convergence in ocr yet.