Added updownhistory.js for the input history. Some minor spacing fixes.