made ui more pretty and consistent, saved last opened directory