Added alpha threshold (for two pass rendering), extended dumper and fixed bug in dff writer.