Fixing bugs that are causing errors. Cant get alfresco to work yet.