Code cleanup and API changes.
Switch to FlashDevelop.