Added better error info support, added mouse position functions, and added blending functions.