Sundry fixes, including removing Numpy import on startup