Previous commit merged changes over. Ceasing work on fixing the SML until a later date, so branch will become obselete if let to sit.