fix bug associated to idle sides

the is_local() function should return true if a side is idle. if not this causes multiple side init events when a side disconnects and is assigned idle, and thus makes the server unhappy.