Added some comments and fixed commitment time spinner