Added documentation for changed components

Additinal documentation for Painter, MainWindow, AnimationFrame, Layer,
AnimationFrameView and Tool.