Test fade effects, fix some bugs in fading implementation.
Merge pull request #22 from shans/fadeTest

Test fade effects, fix some bugs in fading implementation.