Improve warnings

Closes #12, #13, #14, #16