Temporarily disabled background layers; Fixed all compile errors