Implement history panel, right click menus in db tree view + some improvements and minor function implementations.