Renamed word -> phrase throughout; rewrote constructPhrase() to wrap each word in the phrase with a span; words now wrap properly (fixes #27)