adding a small macro to exit if outOfEmf
adding checks in text_draw
adding corrupted file (false text length)
adding corrupted emf file (bad header description field)
add check on bad header description field