Added repository URL to readme.
Only apply cursor mode to focused windows.
Removed C99-ism.
Fixed type for cached cursor coords.