Added scrollpane and blocking function.

Need more work.