Rewrite code and create new GUI.