Add global array configuration, fix some CSS bugs