Performance tweaks: Memoized score lookups, pieces rendered from img elements instead of fonts.