Provide more API functions for custom tabline

Closes #19