Stops stored runs from shifting when hovering over in search mode.

Adds width: 1px to the delete button class to maintain a fixed width
for that element.
Clean up code and add comments

This adds comments to the code to make it more readable and clear.  The
 if statements for pages change to switch statements in RunBox and
 variables are made for the login state.