Disables RCTM logging if menu disabled

Also clears the RCTM in storage after the next tab is closed