Added a gallery + numerous bug fixes.