Ugh about to try to do saving/restoring application states