make a few more changes

instead of pack in the main section, I used setSize to initialize a
size.  Otherwise it wasn't rendering at all.  it is now in pretty good
condition, but there are some problems when resizing too big.