Remove unneeded imports, rename some methods, add error handling for invalid certificate attributes, move the browser under the treeview