glacier module: tidy up to meet PEP8 better

Only style changes, plus some omitting of non-functional uneeded imports. I didn't remove uneeded functional imports in case of any current code that accidentally imports them from these modules.