Make all functions local except for facedir one,
keep tiles variable clean
Unscratch formspec (use inventory cubes)