Fix onError to return JSON instead when internal errors are dispatched. Added margin between main body and absolute menu, this fixes #6.