Moved main.c operations out into distinct files.
Cleaned up critical() a little.
Fixed case where a Volume's block size was unreasonably large for an image file.
Moved some type declarations around.
Added a build test script.