diff --git a/include/class.ticket.php b/include/class.ticket.php
index faa95986b396c64e9656d9ef3b9f57e745b8c9d5..f451de786c52c8b59ac520e8e4df7996d4fbb696 100644
--- a/include/class.ticket.php
+++ b/include/class.ticket.php
@@ -2856,13 +2856,15 @@ class Ticket {
     function checkOverdue() {
 
         $sql='SELECT ticket_id FROM '.TICKET_TABLE.' T1 '
+            .' INNER JOIN '.TICKET_STATUS_TABLE.' status
+                ON (status.id=T1.status_id AND status.state="open") '
             .' LEFT JOIN '.SLA_TABLE.' T2 ON (T1.sla_id=T2.id AND T2.isactive=1) '
-            .' WHERE status=\'open\' AND isoverdue=0 '
+            .' WHERE isoverdue=0 '
             .' AND ((reopened is NULL AND duedate is NULL AND TIME_TO_SEC(TIMEDIFF(NOW(),T1.created))>=T2.grace_period*3600) '
             .' OR (reopened is NOT NULL AND duedate is NULL AND TIME_TO_SEC(TIMEDIFF(NOW(),reopened))>=T2.grace_period*3600) '
             .' OR (duedate is NOT NULL AND duedate<NOW()) '
             .' ) ORDER BY T1.created LIMIT 50'; //Age upto 50 tickets at a time?
-        //echo $sql;
+
         if(($res=db_query($sql)) && db_num_rows($res)) {
             while(list($id)=db_fetch_row($res)) {
                 if(($ticket=Ticket::lookup($id)) && $ticket->markOverdue())
diff --git a/include/staff/templates/ticket-status.tmpl.php b/include/staff/templates/ticket-status.tmpl.php
index 6703ca1b017cfb5bf69710062ae923ffdbad78ba..96c60d1d86d54ea11d6090086936d2d99802b556 100644
--- a/include/staff/templates/ticket-status.tmpl.php
+++ b/include/staff/templates/ticket-status.tmpl.php
@@ -34,7 +34,6 @@ $action = $info['action'] ?: ('#tickets/status/'. $state);
             <tbody>
                 <tr><td colspan="2"><strong><?php echo $info['extra'];
                 ?></strong></td> </tr>
-                <tr><td colspan="2">&nbsp;</td></tr>
             </tbody>
             <?php
             }
@@ -47,9 +46,9 @@ $action = $info['action'] ?: ('#tickets/status/'. $state);
                 <tr>
                     <td colspan=2>
                         <span>
-                        <?php echo __('Status') ?>:&nbsp;
                         <?php
                         if (count($statuses) > 1) { ?>
+                            <strong><?php echo __('Status') ?>:&nbsp;</strong>
                             <select name="status_id">
                             <?php
                             foreach ($statuses as $s) {
@@ -65,7 +64,6 @@ $action = $info['action'] ?: ('#tickets/status/'. $state);
                             <font class="error">*&nbsp;<?php echo $errors['status_id']; ?></font>
                         <?php
                         } elseif ($statuses[0]) {
-                            echo __($statuses[0]->getName());
                             echo  "<input type='hidden' name='status_id' value={$statuses[0]->getId()} />";
                         } ?>
                         </span>
@@ -77,14 +75,13 @@ $action = $info['action'] ?: ('#tickets/status/'. $state);
             <tbody>
                 <tr>
                     <td colspan="2">
-                        <em>Reasons for status change (internal note): Optional but highly recommended.</em>
-                    </td>
-                </tr>
-                <tr>
-                    <td colspan="2">
+                        <?php
+                        $placeholder = __('Optional reason for status change (internal note)');
+                        ?>
                         <textarea name="comments" id="comments"
                             cols="50" rows="3" wrap="soft" style="width:100%"
-                            class="richtext ifhtml no-bar"><?php
+                            class="richtext ifhtml no-bar"
+                            placeholder="<?php echo $placeholder; ?>"><?php
                             echo $info['notes']; ?></textarea>
                     </td>
                 </tr>
diff --git a/include/staff/ticket-view.inc.php b/include/staff/ticket-view.inc.php
index 04e064c6b44fb60c16f275db4f35fad1f239240c..651c30866436e30987e87dace31d5d839ee59b3e 100644
--- a/include/staff/ticket-view.inc.php
+++ b/include/staff/ticket-view.inc.php
@@ -60,7 +60,10 @@ if($ticket->isOverdue())
                 if($ticket->isOpen()) {?>
                 <a class="action-button ticket-action"
                     href="#tickets/<?php echo $ticket->getId()
-                    ?>/status/close"><i class="icon-remove-circle"></i> <?php echo __('Close');?></a>
+                    ?>/status/close"><i class="icon-repeat"></i> <?php echo __('Close');?></a>
+                <a class="action-button ticket-action"
+                    href="#tickets/<?php echo $ticket->getId()
+                    ?>/status/resolve"><i class="icon-ok-circle"></i> <?php echo __('Resolve');?></a>
                 <?php
                 } else { ?>
                 <a class="action-button ticket-action"
diff --git a/scp/tickets.php b/scp/tickets.php
index 42dec382b7783ef00c2ece09f09100d3d1803be0..17235eb62f1368744bc5a5164bb42cde496e600f 100644
--- a/scp/tickets.php
+++ b/scp/tickets.php
@@ -390,11 +390,12 @@ if($thisstaff->showAssignedOnly() && $stats['closed']) {
                         ($_REQUEST['status']=='closed'));
 } else {
 
-    $nav->addSubMenu(array('desc' => __('Resolved').' ('.number_format($stats['resolved']).')',
-                           'title'=>__('Resolved Tickets'),
-                           'href'=>'tickets.php?status=resolved',
-                           'iconclass'=>'closedTickets'),
-                        ($_REQUEST['status']=='resolved'));
+    if ($stats['resolved'])
+        $nav->addSubMenu(array('desc' => __('Resolved').' ('.number_format($stats['resolved']).')',
+                               'title'=>__('Resolved Tickets'),
+                               'href'=>'tickets.php?status=resolved',
+                               'iconclass'=>'closedTickets'),
+                            ($_REQUEST['status']=='resolved'));
 
     $nav->addSubMenu(array('desc' => __('Closed').' ('.number_format($stats['closed']).')',
                            'title'=>__('Closed Tickets'),