fix compilation errors + remove mcgui stuff + clean-up