scale to display size with aspect ratio. only one site has to fit.
fixed aspect ratio and fitting algorithm + some warning refactoring
cleanup and debugging
cleanup deprecated code
removed unused methods