Added check on widget close to make sure comm isn't already none.