Fixed some crazy bugs in sandbox due to complete oversight on late night programming