Stuff works now!

The beds save correctly now.
The mod can *actually* compile now.
Fixed gui texture references.