many changes: import, gamma png (fixes #16), etc