Add option to enable mesh caching, add wallmounted for meshes.

Use spaces for alignment, otherwise the alignment gets messed up if you use a different tab width.