Added more features

Added more features to diag, and added documentation.

Changed the layout of most menus.