tided up visited button and added map legend