First set batch, then create TApplication (fixes batch Cocoa).