User settings

This is a pull request for issues #455 and #456.

I have tested it with lower values. It could maybe be lowered to 90, but below that it does not always work.