Fixed the few problems with layer info.