Don't crash if the user hasn't selected underline style

[Closes #17]