remove some old long dead code, change some logging, make sure we are not in a shuttle if we are trying to check for modules (shuttles have no module slots!)