Flexible template handling.
Configurable number of stars.
Respond to number keys being pressed as well.