Clean up button creation

Change noMoreEntries message to "No more entries!"
Simplify several places

Simplify writing files
- Use with for file opening and autoclosing
- Remove urlsFull because it is needless duplication
Fix button packing to use list.append()
Fix style on a few lines
- Default arguments have no spaces around "="
- "+" should have spaces around it