fixed building core.cpp, some tweaks to touch screen controls