Gave it some extra work. Added drawing primitives (easy), but mostly - procedures. Took me quite a while to convey a way to make it all work, but I am very satisfied with the result. All necessary info was updated in the first post.