fix bug that new source file in core folder weren't compiled. And add fixed top menubar