Updated some tips and comments. Not tested.