Cleaned working directory.
Added auto rescaling for viewed frame.