Merge bug fixes from advancelineoptionsdialog
Bug fixes from position
UI bug fixes, and adding live mode buttons
More bug fixes getting merged in