* Bug fix for adding variables and procedures categories with prompt, removed blocks from category name, check if unsaved changes in workspace factory before leave
* Updated flags in clear all. Added more comments
* Solved merge conflicts
* warn user upon refreshing page and leaving page (by going to prev page or by exiting the window or tab)
* alert upon leaving page ONLY when unsaved changes
* nit remove log
* no alert when on starter block, added clarifying comment
* block library now dynamically updates buttons based on the current block open in block factory--whether or not it is saved, whether or not changes have been made, whether or not it's the starter block.
update buttons rather than switching to new block on delete
remove warning about updating block
alert when creating new block with unsaved changes
working warnings on tab switches and create new block
green buttons indicate user can save or update block, red save button indicates that user cannot save the block ( but encourages user to click button)
consistent button name on default
added alert upon switching between blocks without saving
nit comments, condensing if statements, removing extra code
throw errors in sameBlockXml function of factory utils
created wrapper function for warning user about unsaved changes and checking if they'd like to proceed
cleaned up code for setSelected block
* nit change to warning message on block type being one of core block types
* nit helper text for exporter
* nit comments and spacing
* Automatically generates flyout on switching to category
* Fixed import blocks bugs
* Made last set of UI changes and changes to starter code exporting
* Combined if statements
* Only add toolbox if not read only
* Removed extra curly braces
* Some options stuff changed
* Finished changes to options, including moving readonly to toop, fixing zoom errors, indenting suboptions, generating an options string, getting category options automatically, and making max blocks clearer, and having number inputs
* Added null check and nit line length