introduce named variables for some spatial dimensions
migrated to new coordinates

also some whitespace changes, recommend viewing this commit with
-z.
Add thumbs to list items
Fix position of tag preview rectangle.
fix cropping coordinates
whitespace / indentation fixes to index.html

also stop printing image content to console, and move WSEndpoint
to the top as a variable