Basic output rendering (only working fully in Chrome so far)