Hack to get numlock back after logging in, added macro support