Session Prompt Redisplay Bugfix

- Don’t be tricky and use double bitwise not operator when Math.floor can be used.
- Initialise the prompt with the time to avoid having it in the locale file.
- Initialise the prompt with the time so when it is re displayed it immediately shows the correct timeout left.
- Isolate millis to second conversion only where it is required(updating the time left function).