some KspRoot debugging and Layout update for Mac OS X