Update: fix mi src bugs
Fix: fix bugs in mi main program and change some SConscripts to generate root.src.tar.gz