Remove unused files
Print stack trace when error occurs in test program
Build test app as SWF version 11