Removed most debugging statements now that Browsie is working as desired, and added comments for each method