Added a call to TApplication to see if that would do the trick.