added PHONY targets and make cleaning easier:)
improved coding style for _is_selected and code documentation