Added a framework for building meta boxes; and several minor fixes to code sintax