switched clearing buttons
added more functionality
added page-role attribute to memory settings
made the interface better