some tidyup, added tint control to 9slice