Updated videoCore.h and common.h, fixed Makefile