Formatting, use of variable for buttons and added run and compile buttons