Multiple changes

1) Realises new UI structure 2) Failed download does not overwrite
previous image files 3) Last selected language is saved 4) Fixed bugs in
BEnd_FMT(), BEnd_WriteImage()