Basic save state functionality, no loading.

It's doing more than just uppercase though