Improve title bar and change default dir