Changed the parser to catch runtime exceptions in stylesheet parsing instead of just letting them propagate.
#27: Refactored all the cursor code out of TextField and into DocumentCursorOverlay, of which TextField contains one.
This refactor has broken Text field because the overlay and the border are at the same level inside a new block that is under the body and it appears that now that it is moved, the border element isn't seeing its role-specific styles.