Added the function to correct get characters name. Implemented tidying of inserted buttons Minifiying Code