clean up
fix documentation
add shift key to drawing
make createLayer more robust
simplify things