Pre-flatterns DisplayObjects (vector graphics).

Takes in care filters with the help of BoundsHelper.as.

Note: Only changes in file Main.as and the addition of BoundsHelper.as are relevant.