Clean up include guards and a bug.

Use ptrdiff_t instead of size_t/int for EditorCell.h:m_historyPosition, which is the signed opposite of size_t.

Please don't define macros beginning with an underscore, those are reserved as per C++ standard.