Frontend: Memorize main window size

Signed-off-by: Jerome Flesch <jflesch@gmail.com>