Ignore vim swap files.
Use bitshifting instead of division for consistency of style.
Fix display bug caused by lack of grouping operator.