more config stuff
read stuff
partial bugfixes