Changed up error stuff in common.h to use assumed defines to define error codes, making the use of said error codes much more ubiquitous. Changed up the names of drawing functions, and removed some unnecessary duplicate code (mostly the ones that had to do with alpha blending).