Fixed some render-component related warnings. (#41)
Added selection/preview handling for items and a simple preview for resource items. (#39, #31)