Hide track-adder buttons when not needed.
(More substantial refactoring would probably be a good idea, though...)