free some unneeded ram
changed indices from ints to shorts
minor lighting changes