clean up
update polyline tool

add angle / distance restriction options
fix font property case insensitive
update known variable handling

more efficient creation of new document with default settings