Database fix, glasseffect smoothness, little cleanup