Optimization and memory leak fixes

- optimized multiplyColor logic
- small optimization in recurrent operations
- fix leak in DisplayObjContainer:destroyFrameBufferImage
- updated documentation