fixed layout centering
altered layout for spacing between buttons
cleaned up code