Cache XML read from the harddrive

Should slightly improve tabwidget performance, but the real bottleneck
(at least on my machine) is the file parsing done by pychan.