Added maxtextlines feature to Labels

Closes #64