Formatting pass, purchasing and rating bugs fixed

TODO: add double-click functionality to purchase history (same function
as rate button) and customer selection screen (same function as OK
button)