def pretty_const(value):
    """Make a constant pretty for printing in GUI"""
    words = value.split('_')
    pretty = words[0].capitalize()
    for word in words[1:]:
        pretty += ' ' + word.lower()
    return pretty
Make a constant pretty for printing in GUI