Improves GUI and add a choice of codding