Fixed tabmode parsing
Whitespaces and semicolons
Added an exception for clean bailout
Can read the pdf file from an external script