Fixed pdf printing errors and made minor css changes.