Some fixes for Frame.cpp and Frame_OnInit.cpp
Added makefile