Removed unused convert function; fixed typos; cosmetics
Replace scaling modes 'fit-width' and 'fit-height' with smart 'fit'. See #119
Center view. See #119
Implemented WebSockets, based on @michaelrhodes work