Separate rust-image code from painting
Refactor background rendering code
Paint borders