Can now save blank GMKs

Fixed a bunch of problems.
Writing blank GMKs works now.