Refactoring and work on the texture scaling tools.

Signed-off-by: Kristian Duske <kristian.duske@gmail.com>
Scaling tools for texturing view.

Signed-off-by: Kristian Duske <kristian.duske@gmail.com>