minor gui fix, modified last_activities, simple conform max/min