Rewritten state machine for simplicity
New empty row method
Proper testing for Fonts