Preliminary rectangle drawing ability. Needs to be fleshed out further.