WIP. Added some smiley middleware.

blah