A few bug fixes

Fixed machines not giving off light, fantasy configs being overwritten,
and server crash