Wrapped things in API-errors
Added error inclusion
Fixed JS inclusion
Added tiny JS for the default theme
Theme and JS fixes