Some additional memory info reporting. Minor import auto optimization.