Transfom matrix is now saved to sb settings too

Also more small code cleanups ^^