rendermax: fixed crashes (hopefully for real this time)
rendermax: mainly organizing
added comments, non-enabled code for adaptive eyes,