Removed magic numbers

Replaced magic numbers for frame.setBounds, replaced with constants.
Added/clarified a couple of comments.