improved user interface, and some more efficiency in the css