Draw rect

Rewrote popup view controllers to use draw rect. Border now looks a lot better and is easier to change on the fly.