Selection now sort of works for the resource viewer...