Some API methods and callbacks. Minor css adjustment.