Fixed bounds issue and hash extraction issue with web server. Changed callback in getHash to send a function to client rather than raw content.