Starting refactoring of article functions.
Refactoring of article fucntions done for now.
Image handling cleanup, move modes to sprites.
More efficient loading of mode images via sprites.