Added switches to prevent kernel and/or world build.
Corrected typo in diskutil command, and added note about writing image to raw device on a Mac for performance increase.
Added a var for the temporary image name.  Don't move the completed file to current dir until it has been tarred up, to speed up the process in case you are moving a large image.