update tab bar on file > new, file > save as

add sanity checks for text line spacing
use cosmetic pen for hairline printing mode