Cleaned up Swf style, cosmetic changes and memleak