Correct fix for bug #8; added gui buttons (should come on only when item selected)