Fixed bug running javaviz multiple times

It wouldn't forget the old names.