Updated samples page, cleaned code, etc.