Changed logic to integrate with UI
Added in uncmi and untick commands. More exception catching done to
ensure that commands will not be performed on the wrong type of list.