Custome controls!

also put checks on the button presses of codeWindow to prevent crashing.
missed a file
Merge branch 'hope' into Refining

Conflicts:
	DesignatedProjectProject/DesignatedProjectProject/drawFunc.cpp