Refactor and prompt data loading changes

This contains several large changes to the way the application works and also uses some more compatible minified libraries. The biggest and most notable change would be the addition of the PromptData and PromptItem which greatly organize the flow control over prompts.