Numbering buttons, expanding code sections

for readability and conciseness.