Double-buffer static files

@SirCmpwn - ready to merge