Got landscape mode working with all the database manage stuff.

- first commit for one of the layouts.
minor cleanup