Added Image pixel manipulation, resize and clear functions. Added Image profiling blocks. Closes #171.