Fixed issues with cyborgs deactivating flashlights, cleaned up some module code in the process.