added error dialog to script window write function
added error dialog to script window read function
updated release notes
reworked drawing algorithm so it's more geometrically correct