fix bug
comments, spacing
update web functions
add hex dump function
update interface for Patch
whitespace