Fixed a minor file loading bug.
Merge branch 'master' of https://github.com/sirXemic/fractal-paint
Reordered code a bit.