update to use App and Array
strip unneeded pixel management code; let Array handle it
fix Graphics::numComponents to include BGR