implements scale9
removes debugging
Merge pull request #18 from minom/master

Implements scale9