Shit loads of refactoring. Removed buttons to sample programs