The first 3 patches are to reduce compile time and object size by avoiding c++ inlining I forced due to my laziness when originally typing these files. The last 2 are bugfixes for the FS that I noticed while working on the texture grf code. It produces some actual code changes in a closed-source app we've been looking at.