Fix fundamental misunderstanding of which keys are stored where
Speed up the loop a lot
Version bump 1.0.2
Make bin executable