Small improvement in PS1

added time display and persistent return code (green zero, red any other)