Well I knew about the BaseHTTPServer but I figured "hand-rolled" functions are quite faster. Maybe not to as much of a degree here, but couldn't it make a difference?
And I still need to figure out the proper formatting for returning the html, because on FireFox you just see plain source.
