constructor: test length property
meta: CRLF/LF andspacing issues
all: reindent, add lint globals, minor refactor