Streamlined decompiling into main program. Made compiling do stats for teams too.