added 404 handler, fixed events

*Added an exception on 404
*TwitterSocketEvent was sending the wrong event
new swf