+tweaked d' calculation
+added toggle to fill or show spine