Setting up mouse and bufexplorer.