restructered entire menu thus far into functions/dialog