Made it so that the options to select for traits appear in a popup window

Also made some minor formatting changes to the trait classes.