v1.2

Updated to make the debug function a discrete choice. Further bugtesting corrections still needed.