Fix argument order issues with setOption

Also fix logic error causing resetting of last-known-name on users
Welcome to the era of UUIDs!